package cn.jinjimi.app.main.widget;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.FrameLayout;
import android.widget.TextView;

import cn.jinjimi.app.R;

/**
 * Created by lforxeverc on 16/9/10.
 */
public class LoadAllFooterView extends FrameLayout {
    TextView tvTip;

    public LoadAllFooterView(Context context) {
        this(context, null);
    }

    public LoadAllFooterView(Context context, AttributeSet attrs) {
        this(context, attrs, 0);
    }

    public LoadAllFooterView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        LayoutInflater.from(context).inflate(R.layout.view_load_all_finish, this);
        tvTip = (TextView) findViewById(R.id.tv_text);
        setEnabled(false);
        setClickable(false);
    }

    public void setTips(String s) {
        tvTip.setText(s);
    }

}
